N := scsh-regexp
F := $(N)/$(N)

FILES := $(F).html $(wildcard $(N)/*.scm) $(N).setup

$(N).egg: $(FILES)
	tar cvfz $@ $(FILES)

$(F).html: $(N)/egg-eggdoc.scm
	cd $(N); csi -R egg-eggdoc -b

clean:
	$(RM) $(N).egg $(F).html
